#include <iostream>

using namespace std;

void printSizeof() {
    // std::cout << "hello world" << std::endl;
    cout << "hello world" << endl;

    cout << "Size of char : " << sizeof(char) << endl;
    cout << "Size of int : " << sizeof(int) << endl;
    cout << "Size of short int : " << sizeof(short int) << endl;
    cout << "Size of long int : " << sizeof(long int) << endl;
    cout << "Size of float : " << sizeof(float) << endl;
    cout << "Size of double : " << sizeof(double) << endl;
    cout << "Size of wchar_t : " << sizeof(wchar_t) << endl;
}

///////////////////////////
extern int a,b;
extern int c;
extern float f;
void printExtern() {
    int a,b;
    int c;
    float f;

    a = 10;
    b = 20;
    c = a + b;
    cout << "c = " << c << endl;

    f = 70.0/3.0;
    cout << "f = " << f << endl;
}
///////////////////////////
static int count = 10;
void printStatic() {
    static int i = 5; // local static variable
    i++;
    cout << "i = " << i;
    cout << ", count = " << count << endl;
}

int main()
{

    // printSizeof();

    // printExtern();

    while (count--) {
        printStatic();
    }


    return 0;
}